import fetch from '@/utils/fetch'
// 教师分页列表
export function getTeacherList(jsonData) {
  const { page, size, data } = jsonData
  return fetch({
    url: `front/teacher/page?page=${page}&size=${size}`,
    method: 'post',
    data
  })
}
// 教师详情
export function findTeacherById(id) {
  return fetch({
    url: `front/teacher/${id}`,
    method: 'get'
  })
}
